import request from '@/utils/request'

// 招标信息
export function getBidBasicInfoList(data) {
  return request({
    url: '/api/bidManage/bidInfo/getBidBasicInfoList',
    method: 'post',
    data
  })
}

export function getBidFinishInfoList(data) {
  return request({
    url: '/api/bidManage/bidInfo/getBidFinishInfoList',
    method: 'post',
    data
  })
}

export function getBankExternalContractInfoList(data) {
  return request({
    url: '/api/moneyManage/bankExternalPaymentInfo/getBankExternalContractInfoList',
    method: 'post',
    data
  })
}

export function getBankExternalContractSettleInfoList(data) {
  return request({
    url: '/api/moneyManage/bankExternalPaymentInfo/getBankExternalContractSettleInfoList',
    method: 'post',
    data
  })
}

export function addBidInfo(data) {
  return request({
    url: '/api/bidManage/bidInfo/addBidInfo',
    method: 'post',
    data
  })
}

export function updateBidInfo(data) {
  return request({
    url: '/api/bidManage/bidInfo/updateBidInfo',
    method: 'post',
    data
  })
}

export function deleteBidInfo(params) {
  return request({
    url: '/api/bidManage/bidInfo/deleteBidInfo',
    method: 'post',
    params
  })
}

export function getBidInfoDetail(params) {
  return request({
    url: '/api/bidManage/bidInfo/getBidInfoDetail',
    method: 'post',
    params
  })
}

// 招标限价
export function getBidLimitInfoList(data) {
  return request({
    url: '/api/bidManage/bidLimitInfo/getBidLimitBasicInfoList',
    method: 'post',
    data
  })
}

export function addBidLimitInfo(data) {
  return request({
    url: '/api/bidManage/bidLimitInfo/addBidLimitInfo',
    method: 'post',
    data
  })
}

export function updateBidLimitInfo(data) {
  return request({
    url: '/api/bidManage/bidLimitInfo/updateBidLimitInfo',
    method: 'post',
    data
  })
}

export function deleteBidLimitInfo(params) {
  return request({
    url: '/api/bidManage/bidLimitInfo/deleteBidLimitInfo',
    method: 'post',
    params
  })
}

export function getBidLimitInfoDetail(params) {
  return request({
    url: '/api/bidManage/bidLimitInfo/getBidLimitInfoDetail',
    method: 'post',
    params
  })
}

// 招标文本
export function getBidTextInfoList(data) {
  return request({
    url: '/api/bidManage/bidTextInfo/getBidTextBasicInfoList',
    method: 'post',
    data
  })
}

export function addBidTextInfo(data) {
  return request({
    url: '/api/bidManage/bidTextInfo/addBidTextInfo',
    method: 'post',
    data
  })
}

export function updateBidTextInfo(data) {
  return request({
    url: '/api/bidManage/bidTextInfo/updateBidTextInfo',
    method: 'post',
    data
  })
}

export function deleteBidTextInfo(params) {
  return request({
    url: '/api/bidManage/bidTextInfo/deleteBidTextInfo',
    method: 'post',
    params
  })
}

export function getBidTextInfoDetail(params) {
  return request({
    url: '/api/bidManage/bidTextInfo/getBidTextInfoDetail',
    method: 'post',
    params
  })
}

// 开标纪要
export function getBidOpenBasicInfoList(data) {
  return request({
    url: '/api/bidManage/bidOpenInfo/getBidOpenBasicInfoList',
    method: 'post',
    data
  })
}

export function getBidOpenFinishInfoList(data) {
  return request({
    url: '/api/bidManage/bidOpenInfo/getBidOpenFinishInfoList',
    method: 'post',
    data
  })
}

export function getContractLedgerList(data) {
  return request({
    url: '/api/complexQuery/contractLedger/getContractLedgerList',
    method: 'post',
    data
  })
}

export function getDebtStatementList(data) {
  return request({
    url: '/api/complexQuery/debtStatement/getDebtStatementList',
    method: 'post',
    data
  })
}

export function getProjectMoneyPlanList(data) {
  return request({
    url: '/api/complexQuery/projectMoneyPlan/getProjectMoneyPlanList',
    method: 'post',
    data
  })
}

export function getProjectTargetCostReportList(data) {
  return request({
    url: '/api/complexQuery/projectTargetCostReport/getProjectTargetCostReportList',
    method: 'post',
    data
  })
}

export function getProjectScheduleReportList(data) {
  return request({
    url: '/api/complexQuery/projectScheduleReport/getProjectScheduleReportList',
    method: 'post',
    data
  })
}

export function getProjectScheduleStatList(data) {
  return request({
    url: '/api/complexQuery/projectScheduleStat/getProjectScheduleStatList',
    method: 'post',
    data
  })
}

export function getMaterialReportList(data) {
  return request({
    url: '/api/complexQuery/materialReport/getMaterialReportList',
    method: 'post',
    data
  })
}

export function getProjectProfitLossAnalysisList(data) {
  return request({
    url: '/api/complexQuery/projectProfitLossAnalysis/getProjectProfitLossAnalysisList',
    method: 'post',
    data
  })
}

export function addBidOpenInfo(data) {
  return request({
    url: '/api/bidManage/bidOpenInfo/addBidOpenInfo',
    method: 'post',
    data
  })
}

export function updateBidOpenInfo(data) {
  return request({
    url: '/api/bidManage/bidOpenInfo/updateBidOpenInfo',
    method: 'post',
    data
  })
}

export function deleteBidOpenInfo(params) {
  return request({
    url: '/api/bidManage/bidOpenInfo/deleteBidOpenInfo',
    method: 'post',
    params
  })
}

export function getBidOpenInfoDetail(params) {
  return request({
    url: '/api/bidManage/bidOpenInfo/getBidOpenInfoDetail',
    method: 'post',
    params
  })
}

export function getSupplierFinishInfoList(data) {
  return request({
    url: '/api/merchantManage/supplierInfo/getSupplierFinishInfoList',
    method: 'post',
    data
  })
}

export function getStorehouseDetailList(data) {
  return request({
    url: '/api/materialConsumableManage/storehouseInfo/getStorehouseDetailList',
    method: 'post',
    data
  })
}

export function getBidLimitFinishInfoList(data) {
  return request({
    url: '/api/bidManage/bidLimitInfo/getBidLimitFinishInfoList',
    method: 'post',
    data
  })
}

export function getSupplierAssessFinishInfoList(data) {
  return request({
    url: '/api/merchantManage/supplierAssessInfo/getSupplierAssessFinishInfoList',
    method: 'post',
    data
  })
}

export function getBidTextFinishInfoList(data) {
  return request({
    url: '/api/bidManage/bidTextInfo/getBidTextFinishInfoList',
    method: 'post',
    data
  })
}
